package org.liveboardgames.agricola.access.hibernate;

import org.liveboardgames.agricola.access.IActionDao;
import org.liveboardgames.agricola.domain.action.Action;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class ActionHibernateDao extends HibernateDaoSupport implements IActionDao {

  public Action load(Long actionId) {
    Action action = (Action)getHibernateTemplate().load(Action.class, actionId);
    return action;
  }

}
